<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<!--{if $this->config->item('site_config')}-->
			<!--{eval $site_config = $this->config->item('site_config');}-->
		<!--{/if}-->
		<!--{if $this->config->item('site_config')}-->
			<!--{eval $site_categorys = $this->config->item('category');}-->
		<!--{/if}-->
	<meta http-equiv="x-ua-compatible" content="ie=7" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="{$site_config[seo_keywords]}" />
	<meta name="description" content="{$site_config[seo_description]}" />
	<meta name="generator" content="TDaye" />
	
<title>T大爷社区，欢迎您</title>
	
<!--960 start-->
<link href="<!--{eval echo base_url();}-->resources/css/reset.css" rel="stylesheet" type="text/css" media="all"/>
<link href="<!--{eval echo base_url();}-->resources/css/text.css" rel="stylesheet" type="text/css" media="all"/>
<link href="<!--{eval echo base_url();}-->resources/css/960_24_col.css" rel="stylesheet" type="text/css" media="all"/>	
<!--960 end-->
<link href="<!--{eval echo base_url();}-->resources/css/style.css" rel="stylesheet" type="text/css" media="all"/>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.min.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.json.js" type="text/javascript"></script>
<script type="text/javascript">
	baseurl = "<!--{eval echo base_url();}-->";
</script>
</head>
<body style="background:#262628;">
<div class="container_24">
	<div class="loginheader">
		<img  src="{SITEURL}resources/images/login_logo.gif"/>
			<div class="title">秀出你的设计 体现创意价值</div>
	</div>
</div>
<div id="main" class="container_24">
<div class="grid_24 step">

	<img src="{SITEURL}resources/images/step1.gif"/></div>
<div class="grid_24 loginform">
	<form action="{SITEURL}login/index" method="post" accept-charset="utf-8" id="loginform">
		<div class="grid_6">
			<input id="username" type="text" value="" name="username" placeholder="邮箱" class="logininput">
		</div>
		<div class="grid_6">
			<input id="password" type="password" value="" name="password" placeholder="密码" class="logininput">
		</div>
		<div class="grid_2">
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
			<input type="submit" value="登录" name="login" class="loginsubmit">
		</div>
	</form>
</div>

<script src="<!--{eval echo base_url();}-->resources/js/jquery.validate.min.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/validate.messages_cn.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/validate.additional-methods.min.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	var validator = $("#loginform").validate({
		onfocusout:false,
		onkeyup:false,
		errorElement:"span",
		rules: {
			username: {
				required: true,
				rangelength:[1,100],
				email:true
			},
			password: {
				required: true,
				rangelength:[1,32]
			}
		},
		messages: {
			username: {
				required: "请输入用户名",
				rangelength: $.validator.format("标题长度 为{0} 到 {1} 汉字"),
				email: "请输入正确的邮箱格式"
			},
			password: {
				required: "请输入密码",
				rangelength: $.validator.format("长度 为{0} 到 {1} 汉字")
			}
		},
		errorPlacement: function(error, element) {
			error.appendTo(element.parent("td").next("td"));
		},
		highlight: function(element, errorClass) {
				$(element).fadeOut(function() {
				$(element).fadeIn();
			});
		},
		success: function(label) {
		}
	});
});
</script>
<!--{template footer_tpl}-->